package com.teoresi.sb.db.dao;

import java.util.List;

import com.teoresi.sb.bean.BaseBean;
import com.teoresi.sb.bean.GenericBean;

public interface BasicDAO<T extends BaseBean> {

	public List<GenericBean> selectAll();

	public GenericBean selectById(long id);

	public long insert(GenericBean entita);

	public void update(GenericBean entita);
	
	public void delete(long id);	
}
